<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #666666;
	font-weight: bold;
}
.STYLE5 {color: #666666}
.STYLE6 {
	color: #135294;
	font-weight: bold;
}
-->
</style>
 <table width="100%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF">
 	<tr>
 		<td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">名称</td>
 		<td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">操作</td>
 	</tr>
 	<s:iterator value="promotionsList">
 	<tr bgcolor='#F1F3F5' onmouseover = "this.style.backgroundColor = '#FFDCB0'" onmouseout = "this.style.backgroundColor = ''" style='cursor:hand'>
 		<td><s:property value="title"/></td>
 		<td>
 		<a href="beforUpdatePromotions.action?promotionsId=<s:property value='id'/>">编辑</a>
 		<a href="deletePromotions.action?promotionsId=<s:property value='id'/>"  onclick="javascript:if(confirm('确定删除吗')) return true; else return false;">删除</a>
 		</td>
 	</tr>
 	</s:iterator>
 	<tr><td colspan="2" nowrap  bgcolor='#E4EDF9'>
 	<a href="promotionsList.action?currentPage=<s:property value='prevPage'/>">上一页</a>
 	<a href="promotionsList.action?currentPage=<s:property value='nextPage'/>">下一页</a>
 	共<s:property value='totalPage'/>页
 	<a href="promotions.action">新增</a></td><tr/>
 </table>
 